package com.cyh.exp.mapper;

import com.cyh.exp.mode.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper{

    int addUser(User user);
    User getUserById(String id);
    int deleteUserById(String id);
    int updateUser(User user);
    List<User> getAllUsers();
}
